﻿using System;
using WFC.BL.Interfaces.DomainModels;

namespace WFC.BL.DomainModels
{
    public class ValueTypeBase : IValueType
    {
        public string Key { get; set; }
        public string Value { get; set; }

        public bool Equals(IValueType other)
        {
            var isEqual = false;
            if (String.Compare(Key, other.Key, true) == 0)
                isEqual = true;

            return isEqual;
        }
    }
}
